package io.github.idol.roomlist.room

import android.support.v7.util.DiffUtil
import io.github.idol.data.ExtInfo
import io.github.idol.data.RoomDetailInfo

/**
 * Created by codeczx on 2018/8/8 下午 09:10.
 * Class description:
 */

class RoomDetailDiffCallback: DiffUtil.ItemCallback<ExtInfo>() {
    override fun areItemsTheSame(oldItem: ExtInfo, newItem: ExtInfo): Boolean {
         return oldItem==newItem
    }

    override fun areContentsTheSame(oldItem: ExtInfo, newItem: ExtInfo): Boolean {
        return oldItem==newItem
    }

}